import { NgModule } from '@angular/core';
import { SharedModule } from '@shared';
import { ActRoutingModule } from './act-routing.module';
import { ActProcessComponent } from './process/process.component';
import { ActModelComponent } from './model/model.component';
import { ActModelEditComponent } from './model/edit/edit.component';
import { ActModelParamComponent } from './model/param/param.component';
import { ActModelTaskComponent } from './model/task/task.component';
import { ActModelBizzComponent } from './model/bizz/bizz.component';
import { ActModelImageComponent } from './model/image/image.component';
import { ActModelVersionComponent } from './model/version/version.component';
import { ActRuntimeProcessInstanceComponent } from './runtime/process-instance/process-instance.component';
import { ActHisHistoryComponent } from './his/history/history.component';
import { ActRuntimeImageComponent } from './runtime/image/image.component';
import { ActRuntimeTaskComponent } from './runtime/task/task.component';

const COMPONENTS = [
  ActProcessComponent,
  ActModelComponent,
  ActModelParamComponent,
  ActModelTaskComponent,
  ActModelBizzComponent,
  ActModelVersionComponent,
  ActRuntimeProcessInstanceComponent,
  ActHisHistoryComponent,
  ActRuntimeTaskComponent];
const COMPONENTS_NOROUNT = [
  ActModelEditComponent,
  ActModelImageComponent,
  ActRuntimeImageComponent];

@NgModule({
  imports: [
    SharedModule,
    ActRoutingModule
  ],
  declarations: [
    ...COMPONENTS,
    ...COMPONENTS_NOROUNT
  ],
  entryComponents: COMPONENTS_NOROUNT
})
export class ActModule { }
